import "package:ct_pa_majordomo/utils/stacker.dart";
import "package:flutter/material.dart";

export "./bottom_sheet_menu.dart";
export "./bottom_sheet_select.dart";

Future<T?> showRoundedBottomSheet<T>({
  required Widget Function(BuildContext) builder,
}) async {
  T? result = await showModalBottomSheet<T>(
    context: Stacker.context,
    backgroundColor: Colors.white,
    clipBehavior: Clip.antiAlias,
    useSafeArea: true,
    builder: builder,
  );
  return result;
}
